home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d17
/
font.arc
/
FONT.OUT
< prev
next >
Wrap
Text File
|
1987-02-27
|
14KB
|
459 lines
DRAKE SOFTWARE FontEdit V1.0
FontEdit V1.0
(C) 1986 Drake Software
All Rights Reserved
1
DRAKE SOFTWARE FontEdit V1.0
What FontEdit Is
----------------
áááá FontEdi⌠á i≤á ß prograφ designeΣá t∩á hel≡á definσ ì
ááááfont≤á anΣ downloaΣ theφ t∩ ß IB═ Proprinter«á FontEdi⌠ ì
áááácome≤á witΦ ß se⌠ oµ predefineΣ fonts¼á bu⌠ iµ therσá i≤ ì
ááááonσá whicΦ yo⌡ woulΣ likσ t∩ havσ tha⌠ i≤ no⌠á included¼ ì
ááááo≥ iµ yo⌡ arσ unhapp∙ witΦ thσ font≤ included¼á i⌠ i≤á ß ì
áááásimplσ matte≥ t∩ changσ o≥ definσ you≥ own.
áááá Currently¼á onl∙á thσ IB═ Proprinte≥ i≤á supporteΣ ì
áááá(thi≤á wa≤ originall∙ writteε onl∙ fo≥ m∙ owε use¼á s∩ ╔ ì
ááááhaΣá n∩ reasoε t∩ suppor⌠ othe≥ printers)¼á bu⌠á iεá thσ ì
ááááfuturσá thσá Epsoεá printe≥á (anΣá compatibles⌐á ma∙á bσ ì
áááásupporteΣ (n∩ promise≤ however).
┴á recen⌠á additioε (t∩ versioε 1.1⌐ i≤ ßá se⌠á oµ ì
ááááauxillar∙á routine≤ writteε iε Turb∩ Pasca∞ whicΦá allo≈ ì
ááááyo⌡á t∩á usσ an∙ oµ thσ font≤ defineΣ witΦá FontEdi⌠á iε ì
ááááyou≥á owε program≤ b∙ callinτ thσ routinσ witΦ ßá strinτ ì
ááááanΣá co-ordinate≤ oε thσ screeε (t∩ usσ this¼á yo⌡á mus⌠ ì
ááááhave a graphics display).
Fonts Included
--------------
ááááCurrently¼á (iεá Versioε 1.0)¼á thσ followinτ font≤á arσ ì
ááááavailable with this archive:
áááá LQ.FNT : a sarif font
áááá ITALIC.FNT : an italic font
CURSIVE.FNT : a cursive font (which currently needs
some work)
FAT.FNT : a 'FAT' font
áááá IBMSET.FN╘á ║á thσ standarΣ IB═ fon⌠ (includeΣ so
áááá that you may more easily define your
áááá own fonts); which also is the font
read in at program start.
áááá SMALL.FN╘á ║á ßá smal∞á fon⌠ (designeΣá fo≥á thσ
áááá screen plotting only) which displays
áááá up to 120 characters per line (this
áááá font also needs work, and is not
áááá completσáa⌠áthσátimσáoµáthi≤
áááá writing).
How To Use FontEdit
-------------------
áááá Iµá ╔ diΣ ß gooΣ joΓ a⌠ writinτ thσá program¼á yo⌡ ì
ááááreall∙á shouldn⌠á havσá t∩ reaΣá thi≤á section¼á a≤á thσ ì
ááááprogram should be self-explanatory.
áááá A⌠á star⌠ up¼á thσ filσ IBMSET.FN╘ i≤ reaΣ iεá (s∩ ìè
2
DRAKE SOFTWARE FontEdit V1.0
ááááthσá FONT.CO═á prograφá anΣ al∞ thσ *.FN╘á file≤á shoulΣ ì
ááááreside on the same diskette or in the same directory).
áááá Afte≥ ß fe≈ seconds¼ thσ FontEdi⌠ screeε wil∞ comσ ì
ááááup, which consists of 3 main sections:
áááá 1. The Character Display
áááá 2. The Status Display
áááá 3. The Help Menu
áááá Thσá characte≥á displa∙á i≤á ßá large¼á block-likσ ì
áááádispla∙ oµ thσ curren⌠ characte≥ beinτ workeΣ oεá (whicΦ ì
ááááb∙ thσ wa∙ default≤ t∩ thσ exclaimatioε poin⌠ '!')« Thσ ì
ááááonl∙á character≤ whicΦ caε bσ redefineΣ arσ thosσ havinτ ì
ááááaε asciΘ betweeε (anΣ including⌐ 3│ anΣ 126«á Thesσ arσ ì
ááááthe following characters:
áááá !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW
áááá XYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
áááá Thσ statu≤ displa∙ show≤ thσ followinτ informatioε ì
ááááabout the current character:
áááá
áááá Curren⌠ Characte≥ ║á(wha⌠ i⌠ normall∙álook≤ like)
áááá Ascii Value : (decimal value of character)
áááá Attribute : (ascending or descending)
áááá File : (current font file)
áááá Finally¼á thσ hel≡ men⌡ explain≤ wha⌠ thσ functioε ì
áááákeys do (explained later).
Character Display
-----------------
áááá Thσ characte≥ displa∙ i≤ thσ maiε iteφ oµ interes⌠ ì
ááááoε thσ display« I⌠ show≤ thσ curren⌠ characte≥ composeΣ ì
ááááoµá 11x╕ 'points'«á Yo⌡ ma∙ movσ thσ curso≥ arounΣá thσ ì
ááááblocδá (thσá curso≥ i≤ ß 'o'⌐ b∙ usinτá thσá arro≈á key≤ ì
áááá(make sure that the Num Lock is not on).
áááá A≤ yo⌡ wil∞ seσ oε thσ hel≡ menu¼á yo⌡ caε usσ al∞ ì
áááácurso≥áá movements╗áá up,down,left,righ⌠á anΣá al∞á fou≥ ì
áááádiagonal≤ (whicΦ arσ labeleΣ Home¼ PgUp¼ End¼ PgDε - thσ ì
áááámovements of which should be obvious).
áááá Yo⌡ caε turε ofµ ß poin⌠ b∙ goinτ t∩ ß poin⌠ whicΦ ì
áááái≤ on¼á anΣ pushinτ space«á Yo⌡ caε turε oε ß poin⌠ b∙ ì
áááágoinτá t∩ ß poin⌠ whicΦ i≤ off¼á anΣ pushinτ spacσá (thσ ì
ááááspacσá ke∙ i≤ simpl∙ ß toggle¼á pushinτ i⌠ wil∞á reversσ ì
ááááthe current position in the character).
è
3
DRAKE SOFTWARE FontEdit V1.0
Status Display
--------------
áááá Thσá firs⌠ tw∩ item≤ iε thσá statu≤á display¼á thσ ì
áááácurren⌠á characte≥ anΣ thσ asciΘ value¼á arσ obviou≤ (o≥ ì
ááááshould be).
áááá Thσ attributσ caε bσ onσ oµ tw∩ things║á ascendinτ ì
ááááor descending.
áááá ┴áá descendinτá characte≥á i≤á onσá whicΦá ha≤áá ß ì
áááádescende≥á (whicΦá i≤ par⌠ oµ thσ characte≥á whicΦá goe≤ ì
áááábelow all other characters; examples: gjpqy).
áááá Aε ascendinτ characte≥ i≤ onσ whicΦ doe≤ no⌠á havσ ì
ááááß descender¼ whicΦ includσ thσ majorit∙ oµ thσ characte≥ ì
ááááset.
áááá Pushinτ F6 will toggle the attribute .
áááá Thσá curren⌠ filσ i≤ thσ filσ whicΦ yo⌡ las⌠á reaΣ ì
ááááin.
Help Menuá
---------
áááá Thσá hel≡á men⌡ contain≤ al∞ thσá informatioεá yo⌡ ì
ááááhavσá t∩ kno≈ abou⌠ thσ functioε key≤ anΣ ho≈ t∩ usσ thσ ì
ááááprogram. A brief description of each key is given:
ááááF1: Clear Character
áááá Thi≤ wil∞ clea≥ thσ Characte≥ Displa∙ t∩á blank¼á s∩ ì
áááá thatáa totally new character can be defined.
ááááF2: Read in New Character Set
áááá Read≤á iε ß ne≈ se⌠ froφ disk«á Onl∙ givσ thσá fon⌠ ì
áááá name¼á yo⌡á d∩ no⌠ havσ t∩ ente≥ thσ '.fntº par⌠ oµ ì
áááá the font (nor should you).
áááá You will be asked you you want to read in a new set,
áááá since reading in of a set destroys the current one
áááá in memory, and if you havent saved it to disk you
áááá will not be able to recover it.
ááááF3: Save Current Character Set
áááá Save≤ thσ curren⌠ se⌠ iε memor∙ t∩ disk«á Yo⌡á wil∞ ì
áááá be asked for a file name, and again you should not
áááá enter the '.fnt' extention - that is automatically
áááá added.
ááááF4: Print Current Character
áááá (makσá surσá printe≥ i≤ on)«á Prin⌠ ß linσá oµá thσ ì
áááá curren⌠á characte≥ s∩ tha⌠ yo⌡ ma∙ seσ wha⌠ i⌠á wil∞ ì
áááá look like when printed.
áá
ááááF5: Print Complete Character Set
áááá (makσá surσá printe≥á i≤á on)«á Print≤á thσá entirσ ì
áááá character set (those which can be defined that is -è
4
DRAKE SOFTWARE FontEdit V1.0
áááá seσá abovσá fo≥á tha⌠ information⌐ t∩á thσá printer« ì
áááá This will NOT make the character set the default for
áááá the printer however (see F7).
ááááF6: Toggle Attribute
áááá (attributσ explaineΣ above)« Change≤ froφ ascendinτ ì
áááá to descending, and descending to ascending.
ááááF7: Download Current Set to Printer
áááá (makσá surσ printe≥ i≤ on)«á Download≤ thσá curren⌠ ì
áááá characte≥á se⌠á t∩ thσ printer¼á makinτá al∞á futurσ ì
áááá printing using the new set.
ááááF8: Invert Character
áááá Change≤ al∞ on'≤ t∩ off's¼ anΣ vice-versa« No⌠ rea∞ ì
áááá useful however.
ááááF9: Quit
áááá Obvious - quit program. Prompted for yes or no.
ááááF10: Define a Character
áááá Thi≤ i≤ ho≈ yo⌡ switcΦ froφ defininτ onσá characte≥ ì
áááá t∩á another«á Pushinτá thi≤ wil∞ savσ thσá curren⌠ ì
áááá character (to memory only), and ask you to type the
áááá key of the new character that you wish to define.
áááá For example, when you start up the character '!' is
áááá showing. If you want to redefine the character 'A'
áááá just push F10 and then A.
ááááAlt-F7 : Shift Character Left
áááá Shift≤á thσá entirσ characte≥ t∩ thσá lef⌠á onσ ì
áááá position and wraps around.
ááááAlt-F8 : Shift Character Right
ááááAlt-F9 : Shift Character Up
ááááAlt-F10 : Shift Character Down
Using FontEdit Fonts on your Graphic Display
--------------------------------------------
áááá Yo⌡ caε usσ an∙ oµ thσ font≤ defineΣ witΦ FontEdi⌠ ì
ááááoεá you≥á graphiπá displa∙ (iµá yo⌡á havσá one)«á Afte≥ ì
áááádefininτá you≥á fonts¼á usσá thσá function≤á defineΣá iε ì
áááá'text.pas' to plot fonts within your own programs.
áááá Thσ routine≤ giveε arσ fo≥ Turb∩ Pascal¼ anΣ a≤ oµ ì
ááááthi≤á timσá arσ no⌠ writteε fo≥ efficienc∙ iε minΣá (bu⌠ ì
ááááwheε ╔ ge⌠ ß chancσ wil∞ rewritσ them)«á The∙ shoulΣ bσ ì
ááááeasy enough to rewrite in any language.
áááá Therσ arσ basicall∙ onl∙ tw∩ routines║ readse⌠ anΣ ì
áááátext.
áááá 'readsetº wil∞ reaΣ iε ß curren⌠ fon⌠ int∩ memory« ì
ááááThe call to this is simply:
áááá readset('fontname')
áááá Al∞á font≤á normall∙ havσ .fn⌠ appendeΣá t∩á thei≥ ìè
5
DRAKE SOFTWARE FontEdit V1.0
ááááname, so do not specify the extender in the call.
áááá Thσá othe≥ routinσ t∩ cal∞ i≤ 'text'«á Tex⌠á wil∞ ì
ááááplo⌠á ßá strinτá oε thσ display¼á a⌠ thσá °á anΣá ∙á co-ì
ááááordinates specified. The call is as follows:
áááá text(x,y,'string up to 132 characters here');
áááá N∩á erro≥ checkinτ i≤ done¼á s∩ yo⌡ mus⌠ makσ surσ ì
áááátha⌠á thσá ° anΣ ∙ co-ordinatσ i≤ legal¼á anΣá tha⌠á thσ ì
áááástring length is appropriate for the current font.
áááá Onσá oµá thσ font≤ includeΣ witΦ thi≤á packagσá i≤ ì
áááá'small.fntº whicΦ allow≤ u≡ t∩ 12░ character≤ pe≥á line« ì
ááááIε orde≥ t∩ usσ this¼á thσ variablσ WIDT╚ mus⌠ bσ se⌠ t∩ ì
áááá╢ s∩ tha⌠ thσ widtΦ betweeε character≤ i≤ smaller«á Fo≥ ì
áááánormal fonts, the WIDTH should be set to 10.
áááá A full example is given in the file 'text.pas'.
áááá
áááá
áááá
Future Releases of FontEdit
---------------------------
áááá Futurσáá release≤áá oµá FontEdi⌠á wil∞á havσáá thσ ì
ááááfollowing:
ááááSupport of printers other than ProPrinter.
ááááColo≥á Displa∙á Suppor⌠ (i⌠ wil∞ currentl∙ worδá witΦá ß ì
áááácolo≥á display¼á bu⌠á i⌠ look≤ bette≥á oεá ßá monochromσ ì
áááámonito≥á - tha⌠á i≤á becausσ m∙ colo≥ carΣ wa≤á sicδá a⌠ ì
áááádevelopement time).
ááááAbilit∙á t∩á downloaΣ font≤ simpl∙ b∙á typinτá somethinτ ì
áááásuch as:
ááááC> font lq.fnt
ááááSeveral other enhancements:
áááá greater speed for plotting on display
áááá truσá extender≤ oε displa∙ (fo≥ now¼á i⌠ doe≤á no⌠ ì
áááá extend the characters correctly).
6
DRAKE SOFTWARE FontEdit V1.0
FontEdi⌠á i≤á releaseΣá t∩ bσ useΣ a≤ yo⌡á wisΦá excep⌠á fo≥á thσ ì
following restrictions:
ááá
A) You may NOT sell or otherwise make money off of FontEdit.
You may however, freely distribute it (in fact you are
encouraged to do so).
B⌐ Yo⌡ ma∙ NO╘ modif∙ thσ codσ iε an∙ way¼á o≥ ge⌠ riΣá oµ ì
thσ copyrigh⌠ notice¼á unles≤ i⌠ i≤ fo≥ you≥ owε usσ ì
áááá only.
Thi≤á produc⌠ i≤ neithe≥ sharewarσ o≥ freeware«á ╔ wil∞ no⌠ ì
ge⌠ angr∙ a⌠ anybod∙ fo≥ no⌠ donatinτ mone∙ t∩ me« Bu⌠ ╔ d∩ ì
asδá tha⌠ iµ yo⌡ finΣ FontEdi⌠ t∩ bσ useful¼á ß donatioεá oµ ì
$1╡ woulΣ bσ greatl∙ appreciated¼á anΣ yo⌡ wil∞ bσá notifieΣ ì
oµ futurσ releases.
Yo⌡á caε ge⌠ thσ sourcσ froφ mσ fo≥ $1╡ though«á Iµ yo⌡ arσ ì
oεá USENE╘á however¼á ╔ caε emai∞ thσ source≤ t∩ yo⌡á a⌠á n∩ ì
charge (but again, money is always appreciated! 8^)
T∩ ge⌠ thσ sourcσ iµ no⌠ oε USENET¼á senΣ $1╡ ($2░ iµ yo⌡ d∩ ì
no⌠ includσ ß self-addressed¼á stampeΣ maile≥ witΦ diskette⌐ ì
to:
Timothy Thomas
5082 Old Goodrich Rd.
Clarence, NY 14031
Iµ yo⌡ arσ oε USENET¼á BITNET¼á o≥ ArpaNET¼ yo⌡ ma∙ als∩ reacΦ mσ ì
at: (this is my signature file)
____________ ____/--\____
\______ ___) ( _ ____) "Damn it Jim!,
__\ \____/ / `--' I'm a programmer not a Doctor!"
) `|=(-
\------------'
Timothy D. Thomas SUNY/Buffalo Computer Science
UUCP: [decvax,dual,rocksanne,watmath,rocksvax]!sunybcs!tim
CSnet: tim@buffalo, ARPAnet: tim%buffalo@CSNET-RELAY
7